package dev.alm.guiguxiaozhiapp.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Document("chat_content")
public class ChatContent {

    @Id
    private ObjectId messageId;

    private String memoryId;

    private String content;

//    public String getContent() {
//        return this.content;
//    }

    public ChatContent(String content) {
//        this.memoryId = memoryId;
        this.content = content;
    }

}
